<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(plural_resource_name(Spree::Taxonomy)) %>


<% content_for :page_actions do %>
  <% if can?(:create, Spree::Taxonomy) %>
    <li>
      <%= button_link_to Spree.t(:new_taxonomy), spree.new_admin_taxonomy_url, :id => 'admin_new_taxonomy_link' %>
    </li>
  <% end %>
<% end %>

<% if @taxonomies.any? %>
<div id="list-taxonomies" data-hook>
  <%= render 'list' %>
</div>
<% else %>
  <div class="col-xs-9 no-objects-found">
    <%= render 'spree/admin/shared/no_objects_found',
                 resource: Spree::Taxonomy,
                 new_resource_url: new_object_url %>
  </div>
<% end %>
